package com.local.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class LocalPayBillRepeatExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LocalPayBillRepeatExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPayBillUuidIsNull() {
            addCriterion("pay_bill_uuid is null");
            return (Criteria) this;
        }

        public Criteria andPayBillUuidIsNotNull() {
            addCriterion("pay_bill_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andPayBillUuidEqualTo(String value) {
            addCriterion("pay_bill_uuid =", value, "payBillUuid");
            return (Criteria) this;
        }

        public Criteria andPayBillUuidNotEqualTo(String value) {
            addCriterion("pay_bill_uuid <>", value, "payBillUuid");
            return (Criteria) this;
        }

        public Criteria andPayBillUuidGreaterThan(String value) {
            addCriterion("pay_bill_uuid >", value, "payBillUuid");
            return (Criteria) this;
        }

        public Criteria andPayBillUuidGreaterThanOrEqualTo(String value) {
            addCriterion("pay_bill_uuid >=", value, "payBillUuid");
            return (Criteria) this;
        }

        public Criteria andPayBillUuidLessThan(String value) {
            addCriterion("pay_bill_uuid <", value, "payBillUuid");
            return (Criteria) this;
        }

        public Criteria andPayBillUuidLessThanOrEqualTo(String value) {
            addCriterion("pay_bill_uuid <=", value, "payBillUuid");
            return (Criteria) this;
        }

        public Criteria andPayBillUuidLike(String value) {
            addCriterion("pay_bill_uuid like", value, "payBillUuid");
            return (Criteria) this;
        }

        public Criteria andPayBillUuidNotLike(String value) {
            addCriterion("pay_bill_uuid not like", value, "payBillUuid");
            return (Criteria) this;
        }

        public Criteria andPayBillUuidIn(List<String> values) {
            addCriterion("pay_bill_uuid in", values, "payBillUuid");
            return (Criteria) this;
        }

        public Criteria andPayBillUuidNotIn(List<String> values) {
            addCriterion("pay_bill_uuid not in", values, "payBillUuid");
            return (Criteria) this;
        }

        public Criteria andPayBillUuidBetween(String value1, String value2) {
            addCriterion("pay_bill_uuid between", value1, value2, "payBillUuid");
            return (Criteria) this;
        }

        public Criteria andPayBillUuidNotBetween(String value1, String value2) {
            addCriterion("pay_bill_uuid not between", value1, value2, "payBillUuid");
            return (Criteria) this;
        }

        public Criteria andCarNoIsNull() {
            addCriterion("car_no is null");
            return (Criteria) this;
        }

        public Criteria andCarNoIsNotNull() {
            addCriterion("car_no is not null");
            return (Criteria) this;
        }

        public Criteria andCarNoEqualTo(String value) {
            addCriterion("car_no =", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoNotEqualTo(String value) {
            addCriterion("car_no <>", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoGreaterThan(String value) {
            addCriterion("car_no >", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoGreaterThanOrEqualTo(String value) {
            addCriterion("car_no >=", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoLessThan(String value) {
            addCriterion("car_no <", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoLessThanOrEqualTo(String value) {
            addCriterion("car_no <=", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoLike(String value) {
            addCriterion("car_no like", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoNotLike(String value) {
            addCriterion("car_no not like", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoIn(List<String> values) {
            addCriterion("car_no in", values, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoNotIn(List<String> values) {
            addCriterion("car_no not in", values, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoBetween(String value1, String value2) {
            addCriterion("car_no between", value1, value2, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoNotBetween(String value1, String value2) {
            addCriterion("car_no not between", value1, value2, "carNo");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNull() {
            addCriterion("pay_time is null");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNotNull() {
            addCriterion("pay_time is not null");
            return (Criteria) this;
        }

        public Criteria andPayTimeEqualTo(Date value) {
            addCriterion("pay_time =", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotEqualTo(Date value) {
            addCriterion("pay_time <>", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThan(Date value) {
            addCriterion("pay_time >", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("pay_time >=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThan(Date value) {
            addCriterion("pay_time <", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThanOrEqualTo(Date value) {
            addCriterion("pay_time <=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeIn(List<Date> values) {
            addCriterion("pay_time in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotIn(List<Date> values) {
            addCriterion("pay_time not in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeBetween(Date value1, Date value2) {
            addCriterion("pay_time between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotBetween(Date value1, Date value2) {
            addCriterion("pay_time not between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNull() {
            addCriterion("pay_type is null");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNotNull() {
            addCriterion("pay_type is not null");
            return (Criteria) this;
        }

        public Criteria andPayTypeEqualTo(String value) {
            addCriterion("pay_type =", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotEqualTo(String value) {
            addCriterion("pay_type <>", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThan(String value) {
            addCriterion("pay_type >", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThanOrEqualTo(String value) {
            addCriterion("pay_type >=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThan(String value) {
            addCriterion("pay_type <", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThanOrEqualTo(String value) {
            addCriterion("pay_type <=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLike(String value) {
            addCriterion("pay_type like", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotLike(String value) {
            addCriterion("pay_type not like", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeIn(List<String> values) {
            addCriterion("pay_type in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotIn(List<String> values) {
            addCriterion("pay_type not in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeBetween(String value1, String value2) {
            addCriterion("pay_type between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotBetween(String value1, String value2) {
            addCriterion("pay_type not between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(Double value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(Double value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(Double value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(Double value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(Double value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<Double> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<Double> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(Double value1, Double value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(Double value1, Double value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andVersionIsNull() {
            addCriterion("version is null");
            return (Criteria) this;
        }

        public Criteria andVersionIsNotNull() {
            addCriterion("version is not null");
            return (Criteria) this;
        }

        public Criteria andVersionEqualTo(Double value) {
            addCriterion("version =", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotEqualTo(Double value) {
            addCriterion("version <>", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThan(Double value) {
            addCriterion("version >", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThanOrEqualTo(Double value) {
            addCriterion("version >=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThan(Double value) {
            addCriterion("version <", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThanOrEqualTo(Double value) {
            addCriterion("version <=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionIn(List<Double> values) {
            addCriterion("version in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotIn(List<Double> values) {
            addCriterion("version not in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionBetween(Double value1, Double value2) {
            addCriterion("version between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotBetween(Double value1, Double value2) {
            addCriterion("version not between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andParkInUuidIsNull() {
            addCriterion("park_in_uuid is null");
            return (Criteria) this;
        }

        public Criteria andParkInUuidIsNotNull() {
            addCriterion("park_in_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andParkInUuidEqualTo(String value) {
            addCriterion("park_in_uuid =", value, "parkInUuid");
            return (Criteria) this;
        }

        public Criteria andParkInUuidNotEqualTo(String value) {
            addCriterion("park_in_uuid <>", value, "parkInUuid");
            return (Criteria) this;
        }

        public Criteria andParkInUuidGreaterThan(String value) {
            addCriterion("park_in_uuid >", value, "parkInUuid");
            return (Criteria) this;
        }

        public Criteria andParkInUuidGreaterThanOrEqualTo(String value) {
            addCriterion("park_in_uuid >=", value, "parkInUuid");
            return (Criteria) this;
        }

        public Criteria andParkInUuidLessThan(String value) {
            addCriterion("park_in_uuid <", value, "parkInUuid");
            return (Criteria) this;
        }

        public Criteria andParkInUuidLessThanOrEqualTo(String value) {
            addCriterion("park_in_uuid <=", value, "parkInUuid");
            return (Criteria) this;
        }

        public Criteria andParkInUuidLike(String value) {
            addCriterion("park_in_uuid like", value, "parkInUuid");
            return (Criteria) this;
        }

        public Criteria andParkInUuidNotLike(String value) {
            addCriterion("park_in_uuid not like", value, "parkInUuid");
            return (Criteria) this;
        }

        public Criteria andParkInUuidIn(List<String> values) {
            addCriterion("park_in_uuid in", values, "parkInUuid");
            return (Criteria) this;
        }

        public Criteria andParkInUuidNotIn(List<String> values) {
            addCriterion("park_in_uuid not in", values, "parkInUuid");
            return (Criteria) this;
        }

        public Criteria andParkInUuidBetween(String value1, String value2) {
            addCriterion("park_in_uuid between", value1, value2, "parkInUuid");
            return (Criteria) this;
        }

        public Criteria andParkInUuidNotBetween(String value1, String value2) {
            addCriterion("park_in_uuid not between", value1, value2, "parkInUuid");
            return (Criteria) this;
        }

        public Criteria andActualPriceIsNull() {
            addCriterion("actual_price is null");
            return (Criteria) this;
        }

        public Criteria andActualPriceIsNotNull() {
            addCriterion("actual_price is not null");
            return (Criteria) this;
        }

        public Criteria andActualPriceEqualTo(Double value) {
            addCriterion("actual_price =", value, "actualPrice");
            return (Criteria) this;
        }

        public Criteria andActualPriceNotEqualTo(Double value) {
            addCriterion("actual_price <>", value, "actualPrice");
            return (Criteria) this;
        }

        public Criteria andActualPriceGreaterThan(Double value) {
            addCriterion("actual_price >", value, "actualPrice");
            return (Criteria) this;
        }

        public Criteria andActualPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("actual_price >=", value, "actualPrice");
            return (Criteria) this;
        }

        public Criteria andActualPriceLessThan(Double value) {
            addCriterion("actual_price <", value, "actualPrice");
            return (Criteria) this;
        }

        public Criteria andActualPriceLessThanOrEqualTo(Double value) {
            addCriterion("actual_price <=", value, "actualPrice");
            return (Criteria) this;
        }

        public Criteria andActualPriceIn(List<Double> values) {
            addCriterion("actual_price in", values, "actualPrice");
            return (Criteria) this;
        }

        public Criteria andActualPriceNotIn(List<Double> values) {
            addCriterion("actual_price not in", values, "actualPrice");
            return (Criteria) this;
        }

        public Criteria andActualPriceBetween(Double value1, Double value2) {
            addCriterion("actual_price between", value1, value2, "actualPrice");
            return (Criteria) this;
        }

        public Criteria andActualPriceNotBetween(Double value1, Double value2) {
            addCriterion("actual_price not between", value1, value2, "actualPrice");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("user_id like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("user_id not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("user_name is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("user_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("user_name =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("user_name <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("user_name >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_name >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("user_name <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("user_name <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("user_name like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("user_name not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("user_name in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("user_name not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("user_name between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("user_name not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andCarOutUuidIsNull() {
            addCriterion("car_out_uuid is null");
            return (Criteria) this;
        }

        public Criteria andCarOutUuidIsNotNull() {
            addCriterion("car_out_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andCarOutUuidEqualTo(String value) {
            addCriterion("car_out_uuid =", value, "carOutUuid");
            return (Criteria) this;
        }

        public Criteria andCarOutUuidNotEqualTo(String value) {
            addCriterion("car_out_uuid <>", value, "carOutUuid");
            return (Criteria) this;
        }

        public Criteria andCarOutUuidGreaterThan(String value) {
            addCriterion("car_out_uuid >", value, "carOutUuid");
            return (Criteria) this;
        }

        public Criteria andCarOutUuidGreaterThanOrEqualTo(String value) {
            addCriterion("car_out_uuid >=", value, "carOutUuid");
            return (Criteria) this;
        }

        public Criteria andCarOutUuidLessThan(String value) {
            addCriterion("car_out_uuid <", value, "carOutUuid");
            return (Criteria) this;
        }

        public Criteria andCarOutUuidLessThanOrEqualTo(String value) {
            addCriterion("car_out_uuid <=", value, "carOutUuid");
            return (Criteria) this;
        }

        public Criteria andCarOutUuidLike(String value) {
            addCriterion("car_out_uuid like", value, "carOutUuid");
            return (Criteria) this;
        }

        public Criteria andCarOutUuidNotLike(String value) {
            addCriterion("car_out_uuid not like", value, "carOutUuid");
            return (Criteria) this;
        }

        public Criteria andCarOutUuidIn(List<String> values) {
            addCriterion("car_out_uuid in", values, "carOutUuid");
            return (Criteria) this;
        }

        public Criteria andCarOutUuidNotIn(List<String> values) {
            addCriterion("car_out_uuid not in", values, "carOutUuid");
            return (Criteria) this;
        }

        public Criteria andCarOutUuidBetween(String value1, String value2) {
            addCriterion("car_out_uuid between", value1, value2, "carOutUuid");
            return (Criteria) this;
        }

        public Criteria andCarOutUuidNotBetween(String value1, String value2) {
            addCriterion("car_out_uuid not between", value1, value2, "carOutUuid");
            return (Criteria) this;
        }

        public Criteria andCarinCreatAtIsNull() {
            addCriterion("carIn_creat_at is null");
            return (Criteria) this;
        }

        public Criteria andCarinCreatAtIsNotNull() {
            addCriterion("carIn_creat_at is not null");
            return (Criteria) this;
        }

        public Criteria andCarinCreatAtEqualTo(Date value) {
            addCriterion("carIn_creat_at =", value, "carinCreatAt");
            return (Criteria) this;
        }

        public Criteria andCarinCreatAtNotEqualTo(Date value) {
            addCriterion("carIn_creat_at <>", value, "carinCreatAt");
            return (Criteria) this;
        }

        public Criteria andCarinCreatAtGreaterThan(Date value) {
            addCriterion("carIn_creat_at >", value, "carinCreatAt");
            return (Criteria) this;
        }

        public Criteria andCarinCreatAtGreaterThanOrEqualTo(Date value) {
            addCriterion("carIn_creat_at >=", value, "carinCreatAt");
            return (Criteria) this;
        }

        public Criteria andCarinCreatAtLessThan(Date value) {
            addCriterion("carIn_creat_at <", value, "carinCreatAt");
            return (Criteria) this;
        }

        public Criteria andCarinCreatAtLessThanOrEqualTo(Date value) {
            addCriterion("carIn_creat_at <=", value, "carinCreatAt");
            return (Criteria) this;
        }

        public Criteria andCarinCreatAtIn(List<Date> values) {
            addCriterion("carIn_creat_at in", values, "carinCreatAt");
            return (Criteria) this;
        }

        public Criteria andCarinCreatAtNotIn(List<Date> values) {
            addCriterion("carIn_creat_at not in", values, "carinCreatAt");
            return (Criteria) this;
        }

        public Criteria andCarinCreatAtBetween(Date value1, Date value2) {
            addCriterion("carIn_creat_at between", value1, value2, "carinCreatAt");
            return (Criteria) this;
        }

        public Criteria andCarinCreatAtNotBetween(Date value1, Date value2) {
            addCriterion("carIn_creat_at not between", value1, value2, "carinCreatAt");
            return (Criteria) this;
        }

        public Criteria andCaroutCareteAtIsNull() {
            addCriterion("carOut_carete_at is null");
            return (Criteria) this;
        }

        public Criteria andCaroutCareteAtIsNotNull() {
            addCriterion("carOut_carete_at is not null");
            return (Criteria) this;
        }

        public Criteria andCaroutCareteAtEqualTo(Date value) {
            addCriterion("carOut_carete_at =", value, "caroutCareteAt");
            return (Criteria) this;
        }

        public Criteria andCaroutCareteAtNotEqualTo(Date value) {
            addCriterion("carOut_carete_at <>", value, "caroutCareteAt");
            return (Criteria) this;
        }

        public Criteria andCaroutCareteAtGreaterThan(Date value) {
            addCriterion("carOut_carete_at >", value, "caroutCareteAt");
            return (Criteria) this;
        }

        public Criteria andCaroutCareteAtGreaterThanOrEqualTo(Date value) {
            addCriterion("carOut_carete_at >=", value, "caroutCareteAt");
            return (Criteria) this;
        }

        public Criteria andCaroutCareteAtLessThan(Date value) {
            addCriterion("carOut_carete_at <", value, "caroutCareteAt");
            return (Criteria) this;
        }

        public Criteria andCaroutCareteAtLessThanOrEqualTo(Date value) {
            addCriterion("carOut_carete_at <=", value, "caroutCareteAt");
            return (Criteria) this;
        }

        public Criteria andCaroutCareteAtIn(List<Date> values) {
            addCriterion("carOut_carete_at in", values, "caroutCareteAt");
            return (Criteria) this;
        }

        public Criteria andCaroutCareteAtNotIn(List<Date> values) {
            addCriterion("carOut_carete_at not in", values, "caroutCareteAt");
            return (Criteria) this;
        }

        public Criteria andCaroutCareteAtBetween(Date value1, Date value2) {
            addCriterion("carOut_carete_at between", value1, value2, "caroutCareteAt");
            return (Criteria) this;
        }

        public Criteria andCaroutCareteAtNotBetween(Date value1, Date value2) {
            addCriterion("carOut_carete_at not between", value1, value2, "caroutCareteAt");
            return (Criteria) this;
        }

        public Criteria andStayTimeLongIsNull() {
            addCriterion("stay_time_long is null");
            return (Criteria) this;
        }

        public Criteria andStayTimeLongIsNotNull() {
            addCriterion("stay_time_long is not null");
            return (Criteria) this;
        }

        public Criteria andStayTimeLongEqualTo(String value) {
            addCriterion("stay_time_long =", value, "stayTimeLong");
            return (Criteria) this;
        }

        public Criteria andStayTimeLongNotEqualTo(String value) {
            addCriterion("stay_time_long <>", value, "stayTimeLong");
            return (Criteria) this;
        }

        public Criteria andStayTimeLongGreaterThan(String value) {
            addCriterion("stay_time_long >", value, "stayTimeLong");
            return (Criteria) this;
        }

        public Criteria andStayTimeLongGreaterThanOrEqualTo(String value) {
            addCriterion("stay_time_long >=", value, "stayTimeLong");
            return (Criteria) this;
        }

        public Criteria andStayTimeLongLessThan(String value) {
            addCriterion("stay_time_long <", value, "stayTimeLong");
            return (Criteria) this;
        }

        public Criteria andStayTimeLongLessThanOrEqualTo(String value) {
            addCriterion("stay_time_long <=", value, "stayTimeLong");
            return (Criteria) this;
        }

        public Criteria andStayTimeLongLike(String value) {
            addCriterion("stay_time_long like", value, "stayTimeLong");
            return (Criteria) this;
        }

        public Criteria andStayTimeLongNotLike(String value) {
            addCriterion("stay_time_long not like", value, "stayTimeLong");
            return (Criteria) this;
        }

        public Criteria andStayTimeLongIn(List<String> values) {
            addCriterion("stay_time_long in", values, "stayTimeLong");
            return (Criteria) this;
        }

        public Criteria andStayTimeLongNotIn(List<String> values) {
            addCriterion("stay_time_long not in", values, "stayTimeLong");
            return (Criteria) this;
        }

        public Criteria andStayTimeLongBetween(String value1, String value2) {
            addCriterion("stay_time_long between", value1, value2, "stayTimeLong");
            return (Criteria) this;
        }

        public Criteria andStayTimeLongNotBetween(String value1, String value2) {
            addCriterion("stay_time_long not between", value1, value2, "stayTimeLong");
            return (Criteria) this;
        }

        public Criteria andAttr1IsNull() {
            addCriterion("attr1 is null");
            return (Criteria) this;
        }

        public Criteria andAttr1IsNotNull() {
            addCriterion("attr1 is not null");
            return (Criteria) this;
        }

        public Criteria andAttr1EqualTo(String value) {
            addCriterion("attr1 =", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1NotEqualTo(String value) {
            addCriterion("attr1 <>", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1GreaterThan(String value) {
            addCriterion("attr1 >", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1GreaterThanOrEqualTo(String value) {
            addCriterion("attr1 >=", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1LessThan(String value) {
            addCriterion("attr1 <", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1LessThanOrEqualTo(String value) {
            addCriterion("attr1 <=", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1Like(String value) {
            addCriterion("attr1 like", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1NotLike(String value) {
            addCriterion("attr1 not like", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1In(List<String> values) {
            addCriterion("attr1 in", values, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1NotIn(List<String> values) {
            addCriterion("attr1 not in", values, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1Between(String value1, String value2) {
            addCriterion("attr1 between", value1, value2, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1NotBetween(String value1, String value2) {
            addCriterion("attr1 not between", value1, value2, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr2IsNull() {
            addCriterion("attr2 is null");
            return (Criteria) this;
        }

        public Criteria andAttr2IsNotNull() {
            addCriterion("attr2 is not null");
            return (Criteria) this;
        }

        public Criteria andAttr2EqualTo(String value) {
            addCriterion("attr2 =", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2NotEqualTo(String value) {
            addCriterion("attr2 <>", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2GreaterThan(String value) {
            addCriterion("attr2 >", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2GreaterThanOrEqualTo(String value) {
            addCriterion("attr2 >=", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2LessThan(String value) {
            addCriterion("attr2 <", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2LessThanOrEqualTo(String value) {
            addCriterion("attr2 <=", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2Like(String value) {
            addCriterion("attr2 like", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2NotLike(String value) {
            addCriterion("attr2 not like", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2In(List<String> values) {
            addCriterion("attr2 in", values, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2NotIn(List<String> values) {
            addCriterion("attr2 not in", values, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2Between(String value1, String value2) {
            addCriterion("attr2 between", value1, value2, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2NotBetween(String value1, String value2) {
            addCriterion("attr2 not between", value1, value2, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr3IsNull() {
            addCriterion("attr3 is null");
            return (Criteria) this;
        }

        public Criteria andAttr3IsNotNull() {
            addCriterion("attr3 is not null");
            return (Criteria) this;
        }

        public Criteria andAttr3EqualTo(String value) {
            addCriterion("attr3 =", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3NotEqualTo(String value) {
            addCriterion("attr3 <>", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3GreaterThan(String value) {
            addCriterion("attr3 >", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3GreaterThanOrEqualTo(String value) {
            addCriterion("attr3 >=", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3LessThan(String value) {
            addCriterion("attr3 <", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3LessThanOrEqualTo(String value) {
            addCriterion("attr3 <=", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3Like(String value) {
            addCriterion("attr3 like", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3NotLike(String value) {
            addCriterion("attr3 not like", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3In(List<String> values) {
            addCriterion("attr3 in", values, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3NotIn(List<String> values) {
            addCriterion("attr3 not in", values, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3Between(String value1, String value2) {
            addCriterion("attr3 between", value1, value2, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3NotBetween(String value1, String value2) {
            addCriterion("attr3 not between", value1, value2, "attr3");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}